package com.byb.server.service.dto;

import java.io.Serializable;
import java.util.List;
import java.util.Objects;

public class IllnessInfoTypeDTO implements Serializable{

    private List<IllnessInfoDTO> countryIllnesses;

    private List<IllnessInfoDTO> baseIllnesses;

    public IllnessInfoTypeDTO(List<IllnessInfoDTO> countryIllnesses, List<IllnessInfoDTO> baseIllnesses) {
        this.countryIllnesses = countryIllnesses;
        this.baseIllnesses = baseIllnesses;
    }

    public List<IllnessInfoDTO> getCountryIllnesses() {
        return countryIllnesses;
    }

    public void setCountryIllnesses(List<IllnessInfoDTO> countryIllnesses) {
        this.countryIllnesses = countryIllnesses;
    }

    public List<IllnessInfoDTO> getBaseIllnesses() {
        return baseIllnesses;
    }

    public void setBaseIllnesses(List<IllnessInfoDTO> baseIllnesses) {
        this.baseIllnesses = baseIllnesses;
    }


    @Override
    public int hashCode() {
        return Objects.hash(getCountryIllnesses(), getBaseIllnesses());
    }
}
